package com.example.park_management.service;

import com.example.park_management.common.Result;
import com.example.park_management.domain.Rooms;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.park_management.domain.vo.RoomVo;
import com.example.park_management.mapper.RoomsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
* @description 针对表【rooms(房间)】的数据库操作Service
* @createDate 2024-05-28 17:04:33
*/
public interface RoomsService extends IService<Rooms> {

    public int createRoom(Rooms rooms);
    public Result updateRoomWithOptionalOwner(RoomVo rooms);
}
